package com.project.internship.service;

import com.project.internship.entity.Class;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2020-04-07
 */
public interface ClassService extends IService<Class> {

    List<Class> getClasses(Integer id);

    List<Class> getAllClasses(Integer requiredId);

    Integer addClass(Class aClass);

    Integer deleteClass(Integer id);
}
